package cn.cloud.all.security.authentication;

import cn.cloud.all.security.core.Authentication;
import cn.cloud.all.security.core.AuthenticationException;

public interface AuthenticationProvider {

    Authentication authenticate(Authentication authentication) throws AuthenticationException;

    boolean supports(Class<?> authentication);
}
